import dayjs from "dayjs";
import $, { extend } from "jquery"
import winston, { Logger, createLogger, transports } from 'winston'

export const logger:Logger = createLogger({
  level: 'info',
  format: winston.format.json(),
  transports: [
    
    new winston.transports.Console(),
    new transports.File({ filename: 'logs/error.log', level: 'error' }),
    new transports.File({ filename: 'logs/combined.log' })
  ]
})
// logger.info("AAAA")

export default defineNuxtPlugin(() => {})